﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;

namespace TaskSync2010
{
    public partial class SyncRibbon
    {
        private void SyncRibbon_Load(object sender, RibbonUIEventArgs e)
        {

        }

        private void config_Click(object sender, RibbonControlEventArgs e)
        {
            SettingsForm form = new SettingsForm();
            form.ShowDialog();
        }

        private void btSync_Click(object sender, RibbonControlEventArgs e)
        {
            ThisAddIn.Syncer.Sync();
        }
    }
}
